package com.psbc.online_xdclass.mapper;

import com.psbc.online_xdclass.model.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserMapper {
    int save(User user);
    User findByPhoneAndPwd(@Param("phone") String phone, @Param("pwd") String pwd);
    User findUserById(@Param("id") Integer userId);
}
